//导出该组件
export default [
  {
    path: "/product",
    component: () => import("@/layout/index.vue"),
    name: "product",
    meta: {
      title: "商品管理"
    },
    icon: "Histogram",
    children: [
      {
        path: "/goods",
        name: "goods",
        component: () => import("@/views/product/product/product.vue"),
        meta: {
          title: "商品列表"
        },
        hidden: false
      },
      {
        path: "/category",
        name: "category",
        component: () => import("@/views/product/category.vue"),
        meta: {
          title: "分类管理"
        },
        hidden: false
      },
      {
        path: "/brand",
        name: "brand",
        component: () => import("@/views/product/brand.vue"),
        meta: {
          title: "品牌管理"
        },
        hidden: false
      },
      {
        path: "/categoryBrand",
        name: "categoryBrand",
        component: () => import("@/views/product/categoryBrand.vue"),
        meta: {
          title: "分类品牌管理"
        },
        hidden: false
      },
      {
        path: "/spec",
        name: "productSpec",
        component: () => import("@/views/product/productSpec.vue"),
        meta: {
          title: "商品规格管理"
        },
        hidden: false
      }
    ]
  }
];
